package com.tinyspot.concrete.starter.business;

import com.tinyspot.concrete.starter.business.model.BaseContext;

/**
 * @author Tinyspot
 * @date 2023-01-07 21:58
 */
public abstract class AbstractBaseProcessor<T extends BaseContext> implements IProcessor<T> {

    @Override
    public void execute(T t) {
        // pre...
        process(t);
    }

    protected abstract void process(T context);
}
